textview: Fix copy/paste error
authorBenjamin Otte <otte@redhat.com>
Thu, 5 Mar 2020 02:57:24 +0000 (03:57 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 5 Mar 2020 03:03:02 +0000 (04:03 +0100)
gtk/gtktextview.c

index 032bc620e50c264d054709fa7ea457b57a02442f..4d70729e06f7fa69d7bcf02b53572aa734015fc1 100644 (file)
@@ -5692,8 +5692,8 @@ gtk_text_view_remove (GtkContainer *container,
 
       if (vc == priv->left_child)
         vcp = &priv->left_child;
-      else if (vc == priv->left_child)
-        vcp = &priv->left_child;
+      else if (vc == priv->right_child)
+        vcp = &priv->right_child;
       else if (vc == priv->top_child)
         vcp = &priv->top_child;
       else if (vc == priv->bottom_child)